Integrand size = 44, antiderivative size = 757 \[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {C \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b f h \sqrt {c+d x}}-\frac {C \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b d f h \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {\left (a^2 C f h+a b C (f g+e h)-b^2 (C e g-2 A f h)\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b^2 f h \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}-\frac {C \sqrt {-d g+c h} (a d f h+b (d f g+d e h+c f h)) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b^2 d \sqrt {b c-a d} f h^2 \sqrt {c+d x} \sqrt {e+f x}} \]
[Out]
Time = 0.74 (sec) , antiderivative size = 757, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {1617, 1612, 176, 430, 171, 551, 182, 435} \[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\frac {\sqrt {g+h x} \sqrt {\frac {(c+d x) (b e-a f)}{(a+b x) (d e-c f)}} \left (a^2 C f h+a b C (e h+f g)-b^2 (C e g-2 A f h)\right ) \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right ),-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b^2 f h \sqrt {c+d x} \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (b e-a f)}{(a+b x) (f g-e h)}}}-\frac {C (a+b x) \sqrt {c h-d g} \sqrt {\frac {(c+d x) (b g-a h)}{(a+b x) (d g-c h)}} \sqrt {\frac {(e+f x) (b g-a h)}{(a+b x) (f g-e h)}} (a d f h+b (c f h+d e h+d f g)) \operatorname {EllipticPi}\left (-\frac {b (d g-c h)}{(b c-a d) h},\arcsin \left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {c h-d g} \sqrt {a+b x}}\right ),\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b^2 d f h^2 \sqrt {c+d x} \sqrt {e+f x} \sqrt {b c-a d}}-\frac {C \sqrt {a+b x} \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {-\frac {(g+h x) (d e-c f)}{(c+d x) (f g-e h)}} E\left (\arcsin \left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b d f h \sqrt {g+h x} \sqrt {\frac {(a+b x) (d e-c f)}{(c+d x) (b e-a f)}}}+\frac {C \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b f h \sqrt {c+d x}} \]
[In]
[Out]
Rule 171
Rule 176
Rule 182
Rule 430
Rule 435
Rule 551
Rule 1612
Rule 1617
Rubi steps \begin{align*} \text {integral}& = \frac {C \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b f h \sqrt {c+d x}}+\frac {\int \frac {2 A b d f h-C (b d e g+a c f h)-C (a d f h+b (d f g+d e h+c f h)) x}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{2 b d f h}+\frac {(C (d e-c f) (d g-c h)) \int \frac {\sqrt {a+b x}}{(c+d x)^{3/2} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{2 b d f h} \\ & = \frac {C \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b f h \sqrt {c+d x}}+\frac {\left (a^2 C f h+a b C (f g+e h)-b^2 (C e g-2 A f h)\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{2 b^2 f h}-\frac {(C (a d f h+b (d f g+d e h+c f h))) \int \frac {\sqrt {a+b x}}{\sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx}{2 b^2 d f h}-\frac {\left (C (d g-c h) \sqrt {a+b x} \sqrt {\frac {(-d e+c f) (g+h x)}{(f g-e h) (c+d x)}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {(-b c+a d) x^2}{b e-a f}}}{\sqrt {1-\frac {(d g-c h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {c+d x}}\right )}{b d f h \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}} \\ & = \frac {C \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b f h \sqrt {c+d x}}-\frac {C \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b d f h \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}-\frac {\left (C (a d f h+b (d f g+d e h+c f h)) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}}\right ) \text {Subst}\left (\int \frac {1}{\left (h-b x^2\right ) \sqrt {1+\frac {(b c-a d) x^2}{d g-c h}} \sqrt {1+\frac {(b e-a f) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {g+h x}}{\sqrt {a+b x}}\right )}{b^2 d f h \sqrt {c+d x} \sqrt {e+f x}}+\frac {\left (\left (a^2 C f h+a b C (f g+e h)-b^2 (C e g-2 A f h)\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {(b c-a d) x^2}{d e-c f}} \sqrt {1-\frac {(b g-a h) x^2}{f g-e h}}} \, dx,x,\frac {\sqrt {e+f x}}{\sqrt {a+b x}}\right )}{b^2 f h (f g-e h) \sqrt {c+d x} \sqrt {\frac {(-b e+a f) (g+h x)}{(f g-e h) (a+b x)}}} \\ & = \frac {C \sqrt {a+b x} \sqrt {e+f x} \sqrt {g+h x}}{b f h \sqrt {c+d x}}-\frac {C \sqrt {d g-c h} \sqrt {f g-e h} \sqrt {a+b x} \sqrt {-\frac {(d e-c f) (g+h x)}{(f g-e h) (c+d x)}} E\left (\sin ^{-1}\left (\frac {\sqrt {d g-c h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {c+d x}}\right )|\frac {(b c-a d) (f g-e h)}{(b e-a f) (d g-c h)}\right )}{b d f h \sqrt {\frac {(d e-c f) (a+b x)}{(b e-a f) (c+d x)}} \sqrt {g+h x}}+\frac {\left (a^2 C f h+a b C (f g+e h)-b^2 (C e g-2 A f h)\right ) \sqrt {\frac {(b e-a f) (c+d x)}{(d e-c f) (a+b x)}} \sqrt {g+h x} F\left (\sin ^{-1}\left (\frac {\sqrt {b g-a h} \sqrt {e+f x}}{\sqrt {f g-e h} \sqrt {a+b x}}\right )|-\frac {(b c-a d) (f g-e h)}{(d e-c f) (b g-a h)}\right )}{b^2 f h \sqrt {b g-a h} \sqrt {f g-e h} \sqrt {c+d x} \sqrt {-\frac {(b e-a f) (g+h x)}{(f g-e h) (a+b x)}}}-\frac {C \sqrt {-d g+c h} (a d f h+b (d f g+d e h+c f h)) (a+b x) \sqrt {\frac {(b g-a h) (c+d x)}{(d g-c h) (a+b x)}} \sqrt {\frac {(b g-a h) (e+f x)}{(f g-e h) (a+b x)}} \Pi \left (-\frac {b (d g-c h)}{(b c-a d) h};\sin ^{-1}\left (\frac {\sqrt {b c-a d} \sqrt {g+h x}}{\sqrt {-d g+c h} \sqrt {a+b x}}\right )|\frac {(b e-a f) (d g-c h)}{(b c-a d) (f g-e h)}\right )}{b^2 d \sqrt {b c-a d} f h^2 \sqrt {c+d x} \sqrt {e+f x}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(6321\) vs. \(2(757)=1514\).
Time = 34.84 (sec) , antiderivative size = 6321, normalized size of antiderivative = 8.35 \[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Result too large to show} \]
[In]
[Out]
Time = 6.37 (sec) , antiderivative size = 1065, normalized size of antiderivative = 1.41
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(1065\) |
default | \(\text {Expression too large to display}\) | \(15875\) |
[In]
[Out]
Timed out. \[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {A + C x^{2}}{\sqrt {a + b x} \sqrt {c + d x} \sqrt {e + f x} \sqrt {g + h x}}\, dx \]
[In]
[Out]
\[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C x^{2} + A}{\sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]
[In]
[Out]
\[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int { \frac {C x^{2} + A}{\sqrt {b x + a} \sqrt {d x + c} \sqrt {f x + e} \sqrt {h x + g}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {A+C x^2}{\sqrt {a+b x} \sqrt {c+d x} \sqrt {e+f x} \sqrt {g+h x}} \, dx=\int \frac {C\,x^2+A}{\sqrt {e+f\,x}\,\sqrt {g+h\,x}\,\sqrt {a+b\,x}\,\sqrt {c+d\,x}} \,d x \]
[In]
[Out]